home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2735 < prev    next >
Encoding:
Text File  |  1996-08-05  |  951 b   |  30 lines

  1. Newsgroups: comp.lang.c
  2. Path: link-1.ts.bcc.ac.uk!reavpar
  3. From: reavpar@ucl.ac.uk (Mr Philip Arthur Riebold)
  4. Subject: Re: Help about the sin() with linux
  5. Message-ID: <1996Jan23.142149.72766@ucl.ac.uk>
  6. Date: Tue, 23 Jan 1996 14:21:49 GMT
  7. References: <4e2eur$50@avalon.imaginet.fr> <4e2ljt$5mf@oban.cc.ic.ac.uk>
  8. Organization: University College London
  9.  
  10. simonh@ic.ac.uk (Dr S.J. Harris) writes:
  11.  
  12. >In article <4e2eur$50@avalon.imaginet.fr> Username@imaginet.fr writes:
  13. >>hi I have a high problem with le function sin and cos under linux.
  14. >>Then I can't code math program. Please if you can help me, save me..
  15. >>    Johann
  16. >>Thank.
  17. >>
  18.  
  19. >Bit difficult to help with so little to go on, but:
  20.  
  21. >1. Have you included math.h
  22. >2. Have you remembered that sin, cos, etc. work on RADIANS
  23.  
  24. Also make sure that you are linking with the correct math library. All this is
  25. mentioned in the C FAQ - you did read the FAQ _before_ posting didn't you :-)
  26.  
  27.  
  28. --
  29.     Philip Riebold,
  30.